package com.sjd.mall.domain.dto.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商品详情
 *
 * @author seer
 * @version 1.0
 * @date 2022/1/13 15:48
 */
@Data
public class BaseGoodsVO {

    @ApiModelProperty(
            value = "ID",
            required = true
    )
    private Long id;

    @ApiModelProperty(
            value = "商品ID",
            required = true
    )
    private Long goodsId;

    @ApiModelProperty(
            value = "商品数量",
            required = true
    )
    private BigDecimal goodsQuantity;

    @ApiModelProperty(
            value = "商品名称",
            required = true
    )
    private String goodsName;

    @ApiModelProperty(
            value = "商品图片",
            required = true
    )
    private String goodsPicture;

    @ApiModelProperty(
            value = "商品价格",
            required = true
    )
    private BigDecimal goodsPrice;

    @ApiModelProperty(
            value = "商品金额",
            required = true
    )
    private BigDecimal goodsAmount;

    @ApiModelProperty(
            value = "折扣金额",
            required = true
    )
    private BigDecimal discountAmount;

    @ApiModelProperty(
            value = "应付金额",
            required = true
    )
    private BigDecimal payableAmount;
}
